//
//  JaneBaseTopicModelCell.m
//  EPA
//
//  Created by lanou3g on 16/4/22.
//  Copyright © 2016年 张静. All rights reserved.
//

#import "JaneBaseTopicModelCell.h"
#import "JaneTextTopicModelCell.h"
#import "JaneImageTopicModelCell.h"

@implementation JaneBaseTopicModelCell

+ (instancetype)cellWithTableView:(UITableView *)tableView Model:(JaneBaseTopicModel *)model indexPath:(NSIndexPath *)indexPath {
    NSString *modelName = NSStringFromClass([model class]);
    JaneBaseTopicModelCell *baseCell = [tableView dequeueReusableCellWithIdentifier:modelName forIndexPath:indexPath];
    // 设置属性
    [baseCell setModel:model];
    
    return baseCell;
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
